package com.nuoniu.sibanyun.entity.erp.barcode;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 白强
 * @since 2021-11-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bc_barcode_rule_content")
@ApiModel(value="条码规则内容", description="")
public class ErpBarcodeRuleContent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "账套id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "条码规则ID")
    @TableField("barcode_rule_id")
    private Integer barcodeRuleId;

    @ApiModelProperty(value = "条码属性ID")
    @TableField("barcode_attribute_id")
    private Integer barcodeAttributeId;

    @ApiModelProperty(value = "条码属性名称")
    @TableField("barcode_attribute_name")
    private String barcodeAttributeName;

    @ApiModelProperty(value = "条码属性编码")
    @TableField("barcode_attribute_code")
    private Integer barcodeAttributeCode;

    @ApiModelProperty(value = "条码属性类型")
    @TableField("barcode_attribute_type")
    private Integer barcodeAttributeType;

    @ApiModelProperty(value = "长度")
    @TableField("length")
    private Integer length;

    @ApiModelProperty(value = "补位符")
    @TableField("complement_character")
    private String complementCharacter;

    @ApiModelProperty(value = "分隔符")
    @TableField("separator_char")
    private String separatorChar;

    @ApiModelProperty(value = "是否参与编码")
    @TableField("is_code")
    private Boolean isCode;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人名称")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "修改人")
    @TableField("update_user_id")
    private Integer updateUserId;

    @ApiModelProperty(value = "修改人姓名")
    @TableField("update_user_name")
    private String updateUserName;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "审核人id")
    @TableField("reviewer_user_id")
    private Integer reviewerUserId;

    @ApiModelProperty(value = "审核人名称")
    @TableField("reviewer_user_name")
    private String reviewerUserName;

    @ApiModelProperty(value = "审核人时间")
    @TableField("reviewer_date")
    private LocalDateTime reviewerDate;


}
